﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DAL;
using BLL;


public partial class movie : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Movie m = new Movie();
        mo.DataSource = m.Message();
        mo.DataBind();

        mo.DataSource = m.Message();
        mo.DataBind();
    }

    protected void btnSearch_Click(object sender, EventArgs e)
    {
        Response.Redirect(string.Format("movie_detail.aspx?searchText={0}",this.searchtext.Text));
    }
}